year = eval(input("输入年份:"))
zodia = year % 12
if zodia == 0:
    print("猴")
elif zodia == 1:
    print("鸡")
elif zodia == 2:
    print("狗")
elif zodia == 3:
    print("猪")
elif zodia == 4:
    print("鼠")
elif zodia == 5:
    print("牛")
elif zodia == 6:
    print("虎")
elif zodia == 7:
    print("兔")
elif zodia == 8:
    print("龙")
elif zodia == 9:
    print("蛇")
elif zodia == 10:
    print("马")
else:
    print("羊")